package com.eduction.modules.system.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
@Entity
@Table(name="t_course_record")
public class CourseRecord {
/*	CREATE TABLE `t_course_record` (
			  `p_id` bigint(20) NOT NULL AUTO_INCREMENT,
			  `school_id` bigint(20) NOT NULL COMMENT '学校id',
			  `kind` varchar(255) NOT NULL COMMENT '参评类别',
			  `reporting_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '申报时间',
			  `teacher` varchar(255) NOT NULL COMMENT '教师',
			  `subject` varchar(255) NOT NULL COMMENT '学科',
			  `class` varchar(255) NOT NULL COMMENT '班级',
			  `teaching_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '任教时间',
			  `week_class_hours` int(10) NOT NULL COMMENT '周课时数',
			  `technical_title` varchar(32) NOT NULL COMMENT '技术职称',
			  `teach_content` varchar(255) NOT NULL COMMENT ' 教学内容',
			  `level` varchar(2) NOT NULL COMMENT '评价等级',
			  `general_comment‘` text NOT NULL COMMENT '总体评价与建议',
			  PRIMARY KEY (`p_id`)
			) ENGINE=InnoDB DEFAULT CHARSET=utf8;*/
	
	private String pid;
	private String schoolId;//学校id
	private String expertId;//专家id
	private String sign;//标识
	private String kind;//参评类别
	private String reportingTime;//申报时间
	private String teacher;//教师
	private String subject;//学科
	private String classs;//班级
	private String teachingTime;//任教时间
	private String weekClassHours;//周课时数
	private String technicalTitle;//技术职称
	private String teachContent;//教学内容
	private String level;//评价等级
	private String generalComment;//总体评价与建议
	
	private String schoolName;//学校名称
	private String expertName;//专家名称
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name="p_id")
	public String getPid() {
		return pid;
	}
	@Column(name="school_id")
	public String getSchoolId() {
		return schoolId;
	}
	@Column(name="kind")
	public String getKind() {
		return kind;
	}
	@Column(name="reporting_time")
	public String getReportingTime() {
		return reportingTime;
	}
	@Column(name="teacher")
	public String getTeacher() {
		return teacher;
	}
	@Column(name="subject")
	public String getSubject() {
		return subject;
	}
	@Column(name="class")
	public String getClasss() {
		return classs;
	}
	@Column(name="teaching_time")
	public String getTeachingTime() {
		return teachingTime;
	}
	@Column(name="week_class_hours")
	public String getWeekClassHours() {
		return weekClassHours;
	}
	@Column(name="technical_title")
	public String getTechnicalTitle() {
		return technicalTitle;
	}
	@Column(name="teach_content")
	public String getTeachContent() {
		return teachContent;
	}
	@Column(name="level")
	public String getLevel() {
		return level;
	}
	@Column(name="general_comment")
	public String getGeneralComment() {
		return generalComment;
	}
	@Transient
	public String getSchoolName() {
		return schoolName;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	public void setSchoolId(String schoolId) {
		this.schoolId = schoolId;
	}
	public void setKind(String kind) {
		this.kind = kind;
	}
	public void setReportingTime(String reportingTime) {
		this.reportingTime = reportingTime;
	}
	public void setTeacher(String teacher) {
		this.teacher = teacher;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public void setClasss(String classs) {
		this.classs = classs;
	}
	public void setTeachingTime(String teachingTime) {
		this.teachingTime = teachingTime;
	}
	public void setWeekClassHours(String weekClassHours) {
		this.weekClassHours = weekClassHours;
	}
	public void setTechnicalTitle(String technicalTitle) {
		this.technicalTitle = technicalTitle;
	}
	public void setTeachContent(String teachContent) {
		this.teachContent = teachContent;
	}
	public void setLevel(String level) {
		this.level = level;
	}
	public void setGeneralComment(String generalComment) {
		this.generalComment = generalComment;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	@Column(name="expert_id")
	public String getExpertId() {
		return expertId;
	}
	public void setExpertId(String expertId) {
		this.expertId = expertId;
	}
	@Column(name="sign")
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	@Transient
	public String getExpertName() {
		return expertName;
	}
	public void setExpertName(String expertName) {
		this.expertName = expertName;
	}
	
}
